<template>
    <div class="blog-list">
        <el-card class="box-card">
            <div class="header">
                <h3 class="blog-title">友情链接</h3>
                <div class="blog-meta">
                    <span>2021-3-8</span>
                </div>
            </div>
            <el-divider></el-divider>

            <div class="link-box" >
               <a title="sadasd"  >
                   <div class="link-item">
                      <img class="link-avatar" src="https://files.catbox.moe/8hzpe1.jpg">
                       <span class="link-name"> sds </span>
                   </div>
               </a>

            </div>
        </el-card>
    </div>
</template>

<script>
    export default {
        name: "友情链接"
    }
</script>

<style scoped>
    .link-avatar {
        width: 100%;
        height: 100%;
        padding: 0;
        border-radius: 5px 5px 0 0;
        display: block;
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        -ms-border-radius: 5px 5px 0 0;
        -o-border-radius: 5px 5px 0 0;
    }
    .link-name {
        display: block;
        font-size: 1rem;
        margin: 5px 0;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: keep-all;
        white-space: nowrap;
    }
    .link-item{
        width: 100%;
        background-color: #fafafa;
        border: 1.3px solid #ededed;
        border-radius: 5px;
        max-height: 300px;
        display: inline-block;
        box-shadow: 0 0 2px 0 rgb(172 172 172 / 40%);
        user-select: none;
        box-sizing: border-box;
        -webkit-transition: all .5s ease;
        transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        -o-transition: all .5s ease;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }
    .link-box a {
        display: inline-block;
        border: none!important;
        width: calc((100% - 80px)/ 4);
        margin: 10px;
    }
    a{
        text-shadow: 0 1px 2px rgb(0 0 0 / 15%);
        font-family: Roboto,"Open Sans","Microsoft YaHei","Helvetica Neue",Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
        -webkit-transition: all .24s ease;
        transition: all .24s ease;
        color: #333;
        text-decoration: none;
    }
    .blog-list{
        margin-left: 16.66667%;
        width: 66.66667%;
    }
    .box-card{
        width: 800px;
        margin: 50px auto;
        padding: 15px;
        background: #fff;
        border-radius: 10px;
        background-color: #f2f2f2;

    }
    .blog-title{
        text-align: center;
        font-size: 1.5rem;
        margin: 20px auto;
    }
    .blog-meta{
        text-align: center
    }
</style>